//
//  SEGRedWalletView.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/3/2.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, SEGAwardRedWalletButtonType) {
    SEGAwardRedWalletButtonType_Open = 0, /*拆红包*/
    SEGAwardRedWalletButtonType_Close = 1, /*关闭*/
    SEGAwardRedWalletButtonType_SeeSoon = 2, /*立即查看按钮*/
    SEGAwardRedWalletButtonType_SeeSoonSignUp = 3 /*邀请邻居*/ //新增
};

typedef void (^SEGAwardRedWalletViewCallBack)(SEGAwardRedWalletButtonType buttonType, NSDictionary *awardsResultData);

@interface SEGRedWalletView : UIView

- (void)showRedWalletWithType:(SEGRedWalletFromType)type callback:(SEGAwardRedWalletViewCallBack)callback;
- (void)showAwardsResultWithDict:(NSDictionary *)resultDit;

@end
